package grabGroup.controller.grabGroup;

import grabGroup.model.Persona;
import grabGroup.service.GlobalService;

import java.util.List;

import org.slim3.controller.Controller;
import org.slim3.controller.Navigation;

public class ChiController extends Controller {
    
    private GlobalService service = new GlobalService();

    @Override
    public Navigation run() throws Exception {
        List<Persona> personaList = service.getListPersona();
        requestScope("personaList", personaList);
        return forward("Chi.jsp");
    }
}
